package com.jt9003.pojo;

import java.util.Date;

public class Patient {
    private Integer pId;

    private String pName;

    private String pGender;

    private Integer pAge;

    private String pPhone;

    private String pAllergy;

    private String pChronic;

    private String pBlood;

    private String pNation;

    private String pProfession;

    private String pAddress;

    private String pRemarks;

    private Prescription prescription;//处方

    private Drugs drugs;//药品

    //身份证号
    private String idCard;
    //创建时间
    private Date createDate;
    //记录人id
    private int createId;

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public int getCreateId() {
        return createId;
    }

    public void setCreateId(int createId) {
        this.createId = createId;
    }

    public Drugs getDrugs() {
        return drugs;
    }

    public void setDrugs(Drugs drugs) {
        this.drugs = drugs;
    }

    public Prescription getPrescription() {
        return prescription;
    }

    public void setPrescription(Prescription prescription) {
        this.prescription = prescription;
    }

    public Integer getpId() {
        return pId;
    }

    public void setpId(Integer pId) {
        this.pId = pId;
    }

    public String getpName() {
        return pName;
    }

    public void setpName(String pName) {
        this.pName = pName == null ? null : pName.trim();
    }

    public String getpGender() {
        return pGender;
    }

    public void setpGender(String pGender) {
        this.pGender = pGender == null ? null : pGender.trim();
    }

    public Integer getpAge() {
        return pAge;
    }

    public void setpAge(Integer pAge) {
        this.pAge = pAge;
    }

    public String getpPhone() {
        return pPhone;
    }

    public void setpPhone(String pPhone) {
        this.pPhone = pPhone == null ? null : pPhone.trim();
    }

    public String getpAllergy() {
        return pAllergy;
    }

    public void setpAllergy(String pAllergy) {
        this.pAllergy = pAllergy == null ? null : pAllergy.trim();
    }

    public String getpChronic() {
        return pChronic;
    }

    public void setpChronic(String pChronic) {
        this.pChronic = pChronic == null ? null : pChronic.trim();
    }

    public String getpBlood() {
        return pBlood;
    }

    public void setpBlood(String pBlood) {
        this.pBlood = pBlood == null ? null : pBlood.trim();
    }

    public String getpNation() {
        return pNation;
    }

    public void setpNation(String pNation) {
        this.pNation = pNation == null ? null : pNation.trim();
    }

    public String getpProfession() {
        return pProfession;
    }

    public void setpProfession(String pProfession) {
        this.pProfession = pProfession == null ? null : pProfession.trim();
    }

    public String getpAddress() {
        return pAddress;
    }

    public void setpAddress(String pAddress) {
        this.pAddress = pAddress == null ? null : pAddress.trim();
    }

    public String getpRemarks() {
        return pRemarks;
    }

    public void setpRemarks(String pRemarks) {
        this.pRemarks = pRemarks == null ? null : pRemarks.trim();
    }
}